home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Sound / LAME / LAME.readme < prev    next >
Encoding:
Text File  |  2001-07-05  |  5.2 KB  |  158 lines

  1. LAME Ain't a Mp3 Encoder
  2. ~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. Don't be fooled by the name, LAME is a mp3 encoder, and a damn good one at that
  5. too! ;)
  6.  
  7. Since v3 it started using GPSYCHO, a GPL'd psycho-acoustic model (if you don't
  8. know what that is, read up on the mp3 format) that produces a very nice final
  9. result.
  10.  
  11. This is my (very successful ;) ) attempt at porting it to the Amiga, since I
  12. felt that the other ports out there were too poor and unstable, and not updated
  13. frequently enough (LAME is still a project in progress, and there are often
  14. updates available). This port has been extensively tested and proved very
  15. stable, and will be updated frequently alongside the original project.
  16.  
  17.  
  18. - CISC
  19.  
  20.  
  21.  
  22. News
  23. ~~~~
  24.  
  25. The previous release was causing alot of fpu-exceptions because of a nasty
  26. tendency of gcc to inline fcos/fsin instructions even on 040/060 when
  27. -ffast-math is enabled, since I now use my own MorphOS gcc 2.95.3 68k
  28. crosscompiler this is no longer a problem, also I was linking with an old
  29. libm.a optimized for 020/881 .. now I'm linking with specially optimized
  30. versions of libm.a, so all fpu-exceptions should now be gone, and LAME should
  31. be just as fast for ppl who are not running CyberPatcher or similar...
  32.  
  33. NOTE: LAME's stack requirements have increased!!! I logged the 68k binaries
  34. going dangerously close to the previous default of 100000 (and the PPC binary
  35. downright nuked) at normal operation, so I increased the default to 163840 ..
  36. this means you prolly won't need to worry about setting the stack for the 68k
  37. binaries, but you *MUST* give the PPC binary enough stack, or else you will
  38. crash'n'burn for sure!
  39.  
  40.  
  41. Hints & Tips
  42. ~~~~~~~~~~~~
  43.  
  44. Experiencing startup or random crashes when running LAME?
  45.  
  46. - Get http://ftp.uni-paderborn.de/aminet/aminet/hard/misc/CSPPC233Fix.lha it
  47.   fixes a strange bug which corrupts the PPC LR register sometimes (seems to
  48.   occur more often under heavy CPU load) .. use NOREQ and QUIET options to
  49.   avoid the pesky debug info/requesters... ;)
  50.  
  51. - Try increasing stacksize (LAME needs atleast 100k (163840 is the default for
  52.   68k, PPC uses the stack you set, so be generous)).
  53.  
  54. - Unplug your accelerator board and plug it in again, as it is known that there
  55.   sometimes occur a bad connection for whatever reason that will make your
  56.   programs behave badly (esp. PPC).
  57.  
  58. - Remove nasty patches.
  59.  
  60.  
  61. Why doesn't LAME re-encode my mp1/2/3 files properly?
  62.  
  63. - The file-extension prolly isn't recognized .. use the --mp1/2/3input options.
  64.  
  65.  
  66. How come re-encoded mp3s sound so bad?
  67.  
  68. - Well, first off, re-encoding *will* degrade the quality .. think about it...
  69.  
  70. - Use the FPU version of mpega.library for best possible quality.
  71.  
  72.  
  73. Why doesn't LAME re-encode my FreeFormat or 8kHz mp3s correctly?
  74.  
  75. - LAME uses mpega.library for reading mp3s to reduce code-size, and speed up
  76.   decoding.
  77.  
  78. - mpega.library doesn't support FreeFormat (yet).
  79.  
  80. - mpega.library has a bug when decoding 8kHz mp3s (this will be fixed soon).
  81.  
  82. - Use LAME.060 (yes, it will work on 040, prolly even 020) or LAME.elf which
  83.   from now on uses LAME's internal mpglib.
  84.  
  85.  
  86. Why doesn't LAME work when trying to encode from stdin?
  87.  
  88. - sndfile.library uses asyncio.library for efficiency.
  89.  
  90. - asyncio.library doesn't support reading from stdin, use PIPE: instead.
  91.  
  92.  
  93. When I Version LAME, I get really strange dates?!
  94.  
  95. - You have a non-Y2K compliant Version command, please get an updated version
  96.   from http://www.amiga.de/diary/developers/Version_v40.3.lha
  97.  
  98.  
  99. When I extract the LAME archive, the files get weird datestamps?!
  100.  
  101. - You have a non-Y2K compliant LZX command, please get an updated version from
  102.   Aminet in util/arc/LZX121r_pch.lha
  103.  
  104.  
  105. I'm encoding directly from CD using AsimCDFS, and all my RAM disappears.
  106.  
  107. - Turn off "Stream CDDA Audio" in AsimCDFS_Prefs. (Thanks to Denis Zwornarz)
  108.  
  109.  
  110. I'm unable to encode from CDDA files or the resulting MP3 sounds like trash.
  111.  
  112. - Most CD-ROMs return CDDA in the Intel byte order (little endian), you have to
  113.   use the -r -x options to select raw input and force byteswapping on the data.
  114.  
  115.  
  116. LAME is too slow, I want something faster!
  117.  
  118. - Be sure to run CyberPatcher/OxyPatcher or similar .. without this you'll
  119.   lose alot of performance whenever an 040/060 unsupported instruction is
  120.   encountered and needs to be emulated. I've done my best to keep them as few
  121.   as possible, but there's still some in there...
  122.  
  123. - I've optimized the exe's as good as I can, but if you want to encode even
  124.   faster (but with poorer quality), use the "-f" option.
  125.  
  126.   (on a 060/50 the speed is 0.1681x vs. 0.3742x here. (v3.60)) ;)
  127.  
  128. - If you don't give a shit about quality, but just want speed, try the -q9
  129.   option. ;))
  130.  
  131. - Get a PPC card (my 604e/233 encodes at 1.1905x (no options enabled) and
  132.   2.1678x (-f option) with a 44.1kHz stereo AIFF). ;))
  133.  
  134. - Use big-endian files (AIFF), byte-swapping can drag down performance.
  135.  
  136.  
  137. Why doesn't LAME.elf run under WarpOS?
  138.  
  139. - Install Frank Wille's ppclibemu .. http://home.owl.de/~frank/
  140.  
  141. - Install InstallPPCLib .. http://frogger.rules.pl/downloads.html
  142.  
  143.  
  144. Links
  145. ~~~~~
  146.  
  147. The Amiga Alternative Audio Page (Homepage of LAME, BladeEnc, SoX and RAPlay)
  148. -> http://www.honeypot.net/audio/
  149.  
  150. libsndfile
  151. -> http://www.zip.com.au/~erikd/libsndfile/
  152.  
  153. LAME
  154. -> http://www.mp3dev.org/mp3/
  155.  
  156. MP3'Tech
  157. -> http://www.mp3tech.org/
  158.